package ooday05;

public class StaticMethod {
    int a;
    static int b;
    void show(){
        System.out.println(a);
        System.out.println(b);
    }
    public void say(){
        System.out.println(a);
    }
    static int max(){
        int a = 1;
        int b = 2;
        int max = a+b;
        return max;
    }
    static void test(){
//        System.out.println(a);//没有对象
        System.out.println(b);
    }
}
